import { defineComponent } from 'vue'

export default defineComponent({
    props: {
      data: Object,
      showMoveOut: Boolean
    },
    data () {
      return {
        showPopupMenu: false,
        showEdit: this.data && this.data.type === 2
      }
    },
    methods: {
      removeApp () {
        this.$emit('remove', this.data)
      },
      editApp () {
        this.$emit('edit', this.data)
      },
      moveOut () {
        this.$emit('moveOut', this.data)
      }
    }
  }
)
